﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using bg;

namespace toe
{
  class Program
  {
    static void Main(string[] args)
    {
      Dictionary<int, string> types = new Dictionary<int, string>();
      types[1] = "console";
      types[2] = "search";
      GameState final = new Game(types, null).Run(new Toe(3, 3));
      System.Console.Write(final);
      System.Console.WriteLine(string.Format("{0} wins", final.GetWinner()));
      System.Console.ReadLine();
    }
  }
}
